package cn.hxth.cloud.consumer.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.Set;
@Mapper
public interface ActionMapper {
	@Select("SELECT actid FROM action WHERE rid IN (" +
			"SELECT rid FROM member_role WHERE mid=#{value})")
	public Set<String> findAllByMember(String id) ;
}
